/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package certificate.entity;

/**
 *
 * @author minhtuan
 */
public class Course {

    private String idCourse;
    private String name;
    private float price;
    private String timeAlong;

    public Course(String idCourse, String name, float price, String timeAlong) {
        this.idCourse = idCourse;
        this.name = name;
        this.price = price;
        this.timeAlong = timeAlong;
    }

    public Course() {
    }

    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the price
     */
    public float getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(float price) {
        this.price = price;
    }

    /**
     * @return the timeAlong
     */
    public String getTimeAlong() {
        return timeAlong;
    }

    /**
     * @param timeAlong the timeAlong to set
     */
    public void setTimeAlong(String timeAlong) {
        this.timeAlong = timeAlong;
    }

    /**
     * @return the idCourse
     */
    public String getIdCourse() {
        return idCourse;
    }

    /**
     * @param idCourse the idCourse to set
     */
    public void setIdCourse(String idCourse) {
        this.idCourse = idCourse;
    }

    @Override
    public String toString() {
        return "Course{" + "idCourse=" + idCourse + ", name=" + name + ", price=" + price + ", timeAlong=" + timeAlong + '}';
    }
    
    
}
